package com.nectia.certificacion.scjp;

import com.nectia.certificacion.scjp1.Exercise31OderPkg;

/**
 * @author eogaz
 * tipo más bajo que puede devolver la función
 */

public class Exercise32 {
	public double methodA(byte x, double y) {
		
		return (short)x / y * 2;		
	}
	
	public float methodA(byte x, float y) {
		
		return (short)x / y * 2;		
	}
	
	public long methodA(byte x, long y) {
		
		return (short)x / y * 2;		
	}
	
	public int methodA(byte x, int y) {
		
		return (short)x / y * 2;		
	}
	
	public int methodA(byte x, short y) {
		
		return (short)x / y * 2;		
	}
	
	public int methodA(byte x, byte y) {
		
		return (short)x / y * 2;		
	}
}